#pragma once

#include "Common.h"
#include "OsgViewerQGLWidgetAdapter.h"


class PSDF_VIEWQT_DLL_DECL ViewerQt3D : public OsgViewerQGLWidgetAdapter
{
public:
	ViewerQt3D(QWidget * parent = 0, unsigned int layerAttrib = LAYER_3D_ALL, bool needRoam = true, const char * name = 0, const QGLWidget * shareWidget = 0, WindowFlags f = 0);	

public:
	virtual void			paintGL();
	void					adjustCamera();
	void					resizeGL( int width, int height );
};